Reepay\Checkout\Gateways\ReepayGateway D

Total Complexity 236
Dependencies 11
Dependents 2
Total lines 1,691
Lines of code 1,103
Logical lines of code 524
Comment lines 314
Methods 30
Properties 16

Methods 30

Method Rating Maintainability Complexity Lines of code
process_payment()
D
13
66 324
get_order_items()
C
31 30 100
get_logo()
B
39 23 69
is_webhook_configured()
B
39 18 67
payment_confirm()
A
42 15 49
add_payment_method()
A
35 10 96
process_session_charge()
A
37 9 87
reepay_cancel()
S
53 6 21
get_webhook_url()
S
56 6 16
check_is_active()
S
57 5 16
refund_payment()
S
58 5 15
admin_notice_api_action()
S
55 4 22
get_account_info()
S
57 4 17
process_refund()
S
59 4 15
generate_gateway_status_html()
S
48 2 41
is_gateway_settings_page()
S
73 4 4
get_language()
S
60 3 14
init_form_fields()
S
51 2 29
reepay_card_store()
S
58 3 14
cancel_payment()
S
63 3 10
capture_payment()
S
64 3 9
get_icon()
S
56 1 19
payment_fields()
S
71 2 6
needs_setup()
S
79 2 3
__construct()
S
58 1 14
apply_parent_settings()
S
61 1 12
can_refund()
S
79 1 3
can_cancel()
S
79 1 3
action_checkout_create_order_line_item()
S
71 1 5
can_capture()
S
79 1 3